package com.sl.hx.shop.utils;

/**
 * TODO
 * Created by BoQin on 2018/3/29.
 * Modified by BoQin
 *
 * @Version
 */
public class NumberUtils {


    public static boolean isPhoneNum(String phone) {
        String regex = "^1[3|4|5|7|8|][0-9]{9}$";
        boolean matches = phone.matches(regex);
        return matches;
    }

}
